﻿using Cinema.Model.Entities;

namespace Cinema.Model.Interfaces
{
    public interface IUnitOfWork
    {
        IRepository<Actor> ActorRepository { get; }
        IRepository<Genre> GenreRepository { get; }
        IRepository<Movie> MovieRepository { get; }
        IRepository<MovieType> MovieTypeRepository { get; }
        IRepository<Projection> ProjectionRepository { get; }
        IRepository<Reservation> ReservationRepository { get; }
        IRepository<Room> RoomRepository { get; }
        IRepository<User> UserRepository { get; }

        void SaveChanges();
    }
}
